<?php
/**
 * Created by PhpStorm.
 * User: chenishr
 * Date: 2018/5/26
 * Time: 10:14 AM
 */
namespace app\index\command;

use think\console\Command;
use think\console\Input;
use think\console\Output;
use think\Cache;
use app\index\command\socket\WebSocket;

class WebSocketServer extends Command
{
    protected $swoole = null;
    protected function configure()
    {
        $this->setName('websocket')->setDescription('Here is the websocket\'s command ');
    }

    protected function execute(Input $input, Output $output)
    {
        $this->swoole = new WebSocket();
    }
}